home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / widget / nsIFullScreen.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-08  |  7.4 KB  |  264 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIFullScreen.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIFullScreen_h__
  6. #define __gen_nsIFullScreen_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsISimpleEnumerator; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIFullScreen */
  21. #define NS_IFULLSCREEN_IID_STR "9854976e-1dd1-11b2-8350-e6d35099fbce"
  22.  
  23. #define NS_IFULLSCREEN_IID \
  24.   {0x9854976e, 0x1dd1, 0x11b2, \
  25.     { 0x83, 0x50, 0xe6, 0xd3, 0x50, 0x99, 0xfb, 0xce }}
  26.  
  27. class NS_NO_VTABLE nsIFullScreen : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IFULLSCREEN_IID)
  31.  
  32.   /**
  33.    * Hide all registered OS chrome components
  34.    */
  35.   /* void hideAllOSChrome (); */
  36.   NS_IMETHOD HideAllOSChrome(void) = 0;
  37.  
  38.   /**
  39.    * Show all registered OS chrome components
  40.    */
  41.   /* void showAllOSChrome (); */
  42.   NS_IMETHOD ShowAllOSChrome(void) = 0;
  43.  
  44.   /**
  45.    * Return an enumerator of all registered OS chrome components
  46.    */
  47.   /* nsISimpleEnumerator getChromeItems (); */
  48.   NS_IMETHOD GetChromeItems(nsISimpleEnumerator **_retval) = 0;
  49.  
  50. };
  51.  
  52. /* Use this macro when declaring classes that implement this interface. */
  53. #define NS_DECL_NSIFULLSCREEN \
  54.   NS_IMETHOD HideAllOSChrome(void); \
  55.   NS_IMETHOD ShowAllOSChrome(void); \
  56.   NS_IMETHOD GetChromeItems(nsISimpleEnumerator **_retval); 
  57.  
  58. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  59. #define NS_FORWARD_NSIFULLSCREEN(_to) \
  60.   NS_IMETHOD HideAllOSChrome(void) { return _to HideAllOSChrome(); } \
  61.   NS_IMETHOD ShowAllOSChrome(void) { return _to ShowAllOSChrome(); } \
  62.   NS_IMETHOD GetChromeItems(nsISimpleEnumerator **_retval) { return _to GetChromeItems(_retval); } 
  63.  
  64. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  65. #define NS_FORWARD_SAFE_NSIFULLSCREEN(_to) \
  66.   NS_IMETHOD HideAllOSChrome(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->HideAllOSChrome(); } \
  67.   NS_IMETHOD ShowAllOSChrome(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowAllOSChrome(); } \
  68.   NS_IMETHOD GetChromeItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChromeItems(_retval); } 
  69.  
  70. #if 0
  71. /* Use the code below as a template for the implementation class for this interface. */
  72.  
  73. /* Header file */
  74. class nsFullScreen : public nsIFullScreen
  75. {
  76. public:
  77.   NS_DECL_ISUPPORTS
  78.   NS_DECL_NSIFULLSCREEN
  79.  
  80.   nsFullScreen();
  81.  
  82. private:
  83.   ~nsFullScreen();
  84.  
  85. protected:
  86.   /* additional members */
  87. };
  88.  
  89. /* Implementation file */
  90. NS_IMPL_ISUPPORTS1(nsFullScreen, nsIFullScreen)
  91.  
  92. nsFullScreen::nsFullScreen()
  93. {
  94.   /* member initializers and constructor code */
  95. }
  96.  
  97. nsFullScreen::~nsFullScreen()
  98. {
  99.   /* destructor code */
  100. }
  101.  
  102. /* void hideAllOSChrome (); */
  103. NS_IMETHODIMP nsFullScreen::HideAllOSChrome()
  104. {
  105.     return NS_ERROR_NOT_IMPLEMENTED;
  106. }
  107.  
  108. /* void showAllOSChrome (); */
  109. NS_IMETHODIMP nsFullScreen::ShowAllOSChrome()
  110. {
  111.     return NS_ERROR_NOT_IMPLEMENTED;
  112. }
  113.  
  114. /* nsISimpleEnumerator getChromeItems (); */
  115. NS_IMETHODIMP nsFullScreen::GetChromeItems(nsISimpleEnumerator **_retval)
  116. {
  117.     return NS_ERROR_NOT_IMPLEMENTED;
  118. }
  119.  
  120. /* End of implementation class template. */
  121. #endif
  122.  
  123.  
  124. /* starting interface:    nsIOSChromeItem */
  125. #define NS_IOSCHROMEITEM_IID_STR "ddd6790a-1dd1-11b2-a804-b522643903b9"
  126.  
  127. #define NS_IOSCHROMEITEM_IID \
  128.   {0xddd6790a, 0x1dd1, 0x11b2, \
  129.     { 0xa8, 0x04, 0xb5, 0x22, 0x64, 0x39, 0x03, 0xb9 }}
  130.  
  131. class NS_NO_VTABLE nsIOSChromeItem : public nsISupports {
  132.  public: 
  133.  
  134.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IOSCHROMEITEM_IID)
  135.  
  136.   /* readonly attribute string name; */
  137.   NS_IMETHOD GetName(char * *aName) = 0;
  138.  
  139.   /* attribute boolean hidden; */
  140.   NS_IMETHOD GetHidden(PRBool *aHidden) = 0;
  141.   NS_IMETHOD SetHidden(PRBool aHidden) = 0;
  142.  
  143.   /* readonly attribute long x; */
  144.   NS_IMETHOD GetX(PRInt32 *aX) = 0;
  145.  
  146.   /* readonly attribute long y; */
  147.   NS_IMETHOD GetY(PRInt32 *aY) = 0;
  148.  
  149.   /* readonly attribute long width; */
  150.   NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
  151.  
  152.   /* readonly attribute long height; */
  153.   NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
  154.  
  155. };
  156.  
  157. /* Use this macro when declaring classes that implement this interface. */
  158. #define NS_DECL_NSIOSCHROMEITEM \
  159.   NS_IMETHOD GetName(char * *aName); \
  160.   NS_IMETHOD GetHidden(PRBool *aHidden); \
  161.   NS_IMETHOD SetHidden(PRBool aHidden); \
  162.   NS_IMETHOD GetX(PRInt32 *aX); \
  163.   NS_IMETHOD GetY(PRInt32 *aY); \
  164.   NS_IMETHOD GetWidth(PRInt32 *aWidth); \
  165.   NS_IMETHOD GetHeight(PRInt32 *aHeight); 
  166.  
  167. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  168. #define NS_FORWARD_NSIOSCHROMEITEM(_to) \
  169.   NS_IMETHOD GetName(char * *aName) { return _to GetName(aName); } \
  170.   NS_IMETHOD GetHidden(PRBool *aHidden) { return _to GetHidden(aHidden); } \
  171.   NS_IMETHOD SetHidden(PRBool aHidden) { return _to SetHidden(aHidden); } \
  172.   NS_IMETHOD GetX(PRInt32 *aX) { return _to GetX(aX); } \
  173.   NS_IMETHOD GetY(PRInt32 *aY) { return _to GetY(aY); } \
  174.   NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
  175.   NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to GetHeight(aHeight); } 
  176.  
  177. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  178. #define NS_FORWARD_SAFE_NSIOSCHROMEITEM(_to) \
  179.   NS_IMETHOD GetName(char * *aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  180.   NS_IMETHOD GetHidden(PRBool *aHidden) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHidden(aHidden); } \
  181.   NS_IMETHOD SetHidden(PRBool aHidden) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHidden(aHidden); } \
  182.   NS_IMETHOD GetX(PRInt32 *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  183.   NS_IMETHOD GetY(PRInt32 *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  184.   NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  185.   NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } 
  186.  
  187. #if 0
  188. /* Use the code below as a template for the implementation class for this interface. */
  189.  
  190. /* Header file */
  191. class nsOSChromeItem : public nsIOSChromeItem
  192. {
  193. public:
  194.   NS_DECL_ISUPPORTS
  195.   NS_DECL_NSIOSCHROMEITEM
  196.  
  197.   nsOSChromeItem();
  198.  
  199. private:
  200.   ~nsOSChromeItem();
  201.  
  202. protected:
  203.   /* additional members */
  204. };
  205.  
  206. /* Implementation file */
  207. NS_IMPL_ISUPPORTS1(nsOSChromeItem, nsIOSChromeItem)
  208.  
  209. nsOSChromeItem::nsOSChromeItem()
  210. {
  211.   /* member initializers and constructor code */
  212. }
  213.  
  214. nsOSChromeItem::~nsOSChromeItem()
  215. {
  216.   /* destructor code */
  217. }
  218.  
  219. /* readonly attribute string name; */
  220. NS_IMETHODIMP nsOSChromeItem::GetName(char * *aName)
  221. {
  222.     return NS_ERROR_NOT_IMPLEMENTED;
  223. }
  224.  
  225. /* attribute boolean hidden; */
  226. NS_IMETHODIMP nsOSChromeItem::GetHidden(PRBool *aHidden)
  227. {
  228.     return NS_ERROR_NOT_IMPLEMENTED;
  229. }
  230. NS_IMETHODIMP nsOSChromeItem::SetHidden(PRBool aHidden)
  231. {
  232.     return NS_ERROR_NOT_IMPLEMENTED;
  233. }
  234.  
  235. /* readonly attribute long x; */
  236. NS_IMETHODIMP nsOSChromeItem::GetX(PRInt32 *aX)
  237. {
  238.     return NS_ERROR_NOT_IMPLEMENTED;
  239. }
  240.  
  241. /* readonly attribute long y; */
  242. NS_IMETHODIMP nsOSChromeItem::GetY(PRInt32 *aY)
  243. {
  244.     return NS_ERROR_NOT_IMPLEMENTED;
  245. }
  246.  
  247. /* readonly attribute long width; */
  248. NS_IMETHODIMP nsOSChromeItem::GetWidth(PRInt32 *aWidth)
  249. {
  250.     return NS_ERROR_NOT_IMPLEMENTED;
  251. }
  252.  
  253. /* readonly attribute long height; */
  254. NS_IMETHODIMP nsOSChromeItem::GetHeight(PRInt32 *aHeight)
  255. {
  256.     return NS_ERROR_NOT_IMPLEMENTED;
  257. }
  258.  
  259. /* End of implementation class template. */
  260. #endif
  261.  
  262.  
  263. #endif /* __gen_nsIFullScreen_h__ */
  264.